<#include "/common/dialogbox.html">
<@header>
	<link rel="stylesheet" href="${ctx}/plugins/jsonview/jquery.jsonview.css">
</@header>
<@body>
<div class="x_panel">
   <div class="x_content">
		<form class="form-horizontal m-t" id="jobLogForm">
		    <div class="form-group">
				<label class="col-sm-2 control-label">日志操作：</label>
				<div class="form-control-static">${(sysLog.title)!}</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">用户名称：</label>
				<div class="form-control-static">${(sysLog.userName)!}</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">URL地址：</label>
				<div class="form-control-static">${(sysLog.url)!}</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">创建时间：</label>
				<div class="form-control-static">${sysLog.createTime?string('yyyy-MM-dd hh:MM:ss')} </div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">请求参数：</label>
				<div class="form-control-static">
				<pre style="font-weight: 600;" id="operParam"></pre>
				</div>
			</div>
		</form>
	</div>
</div>
</@body>
<@footer>
<script src="${ctx}/plugins/jsonview/jquery.jsonview.js"></script>
<script type="text/javascript">
$(function() {
	var operParam = '${(sysLog.params)!}';
	if (!isEmpty(operParam) && operParam.length < 2000) {
		$("#operParam").JSONView(operParam);
	} else {
		$("#operParam").text("无参请求");
	}
});
</script>
</@footer>
